Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ast: fix Restore for INL_HASH_JOIN / INL_MERGE_JOIN hints #1091

Merged
merged 1 commit into from
Nov 12, 2020

Conversation

eurekaka
Copy link
Contributor

What problem does this PR solve?

Currently, hint INL_HASH_JOIN(t1,t2) would be restored as INL_HASH_JOIN(), which would cause explain format = 'hint' or baseline capture broken.

What is changed and how it works?

Restore table parameters for these 2 kinds of hints.

Check List

Tests

  • Unit test

Code changes

N/A

Side effects

N/A

Related changes

  • Need to cherry-pick to the release branch

Copy link
Contributor

@XuHuaiyu XuHuaiyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ti-srebot ti-srebot added the status/LGT1 LGT1 label Nov 11, 2020
Copy link
Contributor

@kennytm kennytm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@ti-srebot ti-srebot added status/LGT2 LGT2 and removed status/LGT1 LGT1 labels Nov 11, 2020
@eurekaka
Copy link
Contributor Author

Don't merge this PR until TiDB PR is ready to be merged.

@ti-srebot
Copy link
Contributor

cherry pick to release-4.0 failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants